package com.tkjt.pms.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
import org.jeecgframework.poi.excel.annotation.Excel;

import javax.persistence.*;
import java.util.Date;
import java.util.List;

/**   
 * @Title: Entity
 * @Description: tk_index_weight
 * @author onlineGenerator
 * @date 2019-11-25 19:09:24
 * @version V1.0   
 *
 */
@Data
@TableName("tk_index_weight_log")
public class TkIndexWeightLog implements java.io.Serializable {
    private static final long serialVersionUID = 1L;
    /**ID*/
    @TableId(type = IdType.ID_WORKER_STR)
	private String id;
	/**主键记录id*/
	private String weightId;
	/**指标归属*/
	@Excel(name="指标归属",width=15,dictTable ="tk_index_info",dicCode ="index_group",dicText ="index_group_name")
	private String indexGroup;
	/**指标类型*/
	@Excel(name="指标类型",width=15)
	private String indexType;
	/**指标编码*/
	@Excel(name="指标编码",width=15,dicCode="yearmonth")
	private String indexCode;
	/**权重机构*/
	@Excel(name="权重机构",width=15)
	private String orgCode;
	/**指标权重年份*/
	@Excel(name="指标权重年份",width=15)
	private String weightY;
	/**指标值权重01*/
	@Excel(name="指标值权重01",width=15)
	private String weightM01;
	/**指标值权重02*/
	@Excel(name="指标值权重02",width=15)
	private String weightM02;
	/**指标值权重03*/
	@Excel(name="指标值权重03",width=15)
	private String weightM03;
	/**指标值权重04*/
	@Excel(name="指标值权重04",width=15)
	private String weightM04;
	/**指标值权重05*/
	@Excel(name="指标值权重05",width=15)
	private String weightM05;
	/**指标值权重06*/
	@Excel(name="指标值权重06",width=15)
	private String weightM06;
	/**指标值权重07*/
	@Excel(name="指标值权重07",width=15)
	private String weightM07;
	/**指标值权重08*/
	@Excel(name="指标值权重08",width=15)
	private String weightM08;
	/**指标值权重09*/
	@Excel(name="指标值权重09",width=15)
	private String weightM09;
	/**指标值权重10*/
	@Excel(name="指标值权重10",width=15)
	private String weightM10;
	/**指标值权重11*/
	@Excel(name="指标值权重11",width=15)
	private String weightM11;
	/**指标值权重12*/
	@Excel(name="指标值权重12",width=15)
	private String weightM12;


	/**权重格式(0:不用填写;1:百分比;2:区间)*/
	@Excel(name="权重格式",width=15)
	private Integer weightFormat;

	/**createBy*/
	@Excel(name="createBy",width=15)
	private String createBy;
	/**createDate*/
	@Excel(name="createDate",width=15,format = "yyyy-MM-dd")
	private Date createDate;
	/**updateBy*/
	@Excel(name="updateBy",width=15)
	private String updateBy;
	/**updateDate*/
	@Excel(name="updateDate",width=15,format = "yyyy-MM-dd")
	private Date updateDate;

	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  主键
	 */
	@Id
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")

	@Column(name ="ID",nullable=false,length=32)
	public String getId(){
		return this.id;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  主键
	 */
	public void setId(String id){
		this.id = id;
	}

	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  主键记录id
	 */

	@Column(name ="WEIGHT_ID",nullable=false,length=32)
	public String getweightId(){
		return this.weightId;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  指标归属
	 */
	public void setweightId(String weightId){
		this.weightId = weightId;
	}



	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  指标归属
	 */

	@Column(name ="INDEX_GROUP",nullable=false,length=8)
	public String getIndexGroup(){
		return this.indexGroup;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  指标归属
	 */
	public void setIndexGroup(String indexGroup){
		this.indexGroup = indexGroup;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  指标类型
	 */

	@Column(name ="INDEX_TYPE",nullable=false,length=8)
	public String getIndexType(){
		return this.indexType;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  指标类型
	 */
	public void setIndexType(String indexType){
		this.indexType = indexType;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  指标编码
	 */

	@Column(name ="INDEX_CODE",nullable=false,length=24)
	public String getIndexCode(){
		return this.indexCode;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  指标编码
	 */
	public void setIndexCode(String indexCode){
		this.indexCode = indexCode;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  权重机构
	 */

	@Column(name ="ORG_CODE",nullable=false,length=80)
	public String getOrgCode(){
		return this.orgCode;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  权重机构
	 */
	public void setOrgCode(String orgCode){
		this.orgCode = orgCode;
	}

	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  指标权重年份
	 */

	@Column(name ="WEIGHT_Y",nullable=false,length=80)
	public String getweightY(){
		return this.weightY;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  指标权重年份
	 */
	public void setweightY(String weightY){
		this.weightY = weightY;
	}


	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  指标值权重01
	 */

	@Column(name ="WEIGHT_M01",nullable=false,length=80)
	public String getWeightM01(){
		return this.weightM01;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  指标值权重01
	 */
	public void setWeightM01(String weightM01){
		this.weightM01 = weightM01;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  指标值权重02
	 */

	@Column(name ="WEIGHT_M02",nullable=false,length=80)
	public String getWeightM02(){
		return this.weightM02;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  指标值权重02
	 */
	public void setWeightM02(String weightM02){
		this.weightM02 = weightM02;
	}




	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  指标值权重03
	 */

	@Column(name ="WEIGHT_M03",nullable=false,length=80)
	public String getWeightM03(){
		return this.weightM03;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  指标值权重03
	 */
	public void setWeightM03(String weightM03){
		this.weightM03 = weightM03;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  指标值权重04
	 */

	@Column(name ="WEIGHT_M04",nullable=false,length=80)
	public String getWeightM04(){
		return this.weightM04;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  指标值权重04
	 */
	public void setWeightM04(String weightM04){
		this.weightM04 = weightM04;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  指标值权重05
	 */

	@Column(name ="WEIGHT_M05",nullable=false,length=80)
	public String getWeightM05(){
		return this.weightM05;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  指标值权重05
	 */
	public void setWeightM05(String weightM05){
		this.weightM05 = weightM05;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  指标值权重06
	 */

	@Column(name ="WEIGHT_M06",nullable=false,length=80)
	public String getWeightM06(){
		return this.weightM06;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  指标值权重06
	 */
	public void setWeightM06(String weightM06){
		this.weightM06 = weightM06;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  指标值权重07
	 */

	@Column(name ="WEIGHT_M07",nullable=false,length=80)
	public String getWeightM07(){
		return this.weightM07;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  指标值权重07
	 */
	public void setWeightM07(String weightM07){
		this.weightM07 = weightM07;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  指标值权重08
	 */

	@Column(name ="WEIGHT_M08",nullable=false,length=80)
	public String getWeightM08(){
		return this.weightM08;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  指标值权重08
	 */
	public void setWeightM08(String weightM08){
		this.weightM08 = weightM08;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  指标值权重09
	 */

	@Column(name ="WEIGHT_M09",nullable=false,length=80)
	public String getWeightM09(){
		return this.weightM09;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  指标值权重09
	 */
	public void setWeightM09(String weightM09){
		this.weightM09 = weightM09;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  指标值权重10
	 */

	@Column(name ="WEIGHT_M10",nullable=false,length=80)
	public String getWeightM10(){
		return this.weightM10;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  指标值权重10
	 */
	public void setWeightM10(String weightM10){
		this.weightM10 = weightM10;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  指标值权重11
	 */

	@Column(name ="WEIGHT_M11",nullable=false,length=80)
	public String getWeightM11(){
		return this.weightM11;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  指标值权重11
	 */
	public void setWeightM11(String weightM11){
		this.weightM11 = weightM11;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  指标值权重12
	 */

	@Column(name ="WEIGHT_M12",nullable=false,length=80)
	public String getWeightM12(){
		return this.weightM12;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  指标值权重12
	 */
	public void setWeightM12(String weightM12){
		this.weightM12 = weightM12;
	}


	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer
	 */
	@Column(name ="WEIGHT_FORMAT",nullable=true,length=9)
	public Integer getWeightFormat(){
		return this.weightFormat;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer
	 */
	public void setWeightFormat(Integer weightFormat){
		this.weightFormat = weightFormat;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  createBy
	 */

	@Column(name ="CREATE_BY",nullable=true,length=50)
	public String getCreateBy(){
		return this.createBy;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  createBy
	 */
	public void setCreateBy(String createBy){
		this.createBy = createBy;
	}
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  createDate
	 */

	@Column(name ="CREATE_DATE",nullable=true)
	public Date getCreateDate(){
		return this.createDate;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  createDate
	 */
	public void setCreateDate(Date createDate){
		this.createDate = createDate;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  updateBy
	 */

	@Column(name ="UPDATE_BY",nullable=true,length=50)
	public String getUpdateBy(){
		return this.updateBy;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  updateBy
	 */
	public void setUpdateBy(String updateBy){
		this.updateBy = updateBy;
	}
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  updateDate
	 */

	@Column(name ="UPDATE_DATE",nullable=true)
	public Date getUpdateDate(){
		return this.updateDate;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  updateDate
	 */
	public void setUpdateDate(Date updateDate){
		this.updateDate = updateDate;
	}
	
	
    private List<TkIndexWeightLog> tkIndexWeightList ;
	
    @Transient
	public List<TkIndexWeightLog> getTkIndexWeightList() {
		return tkIndexWeightList;
	}

	public void setTkIndexWeightList(List<TkIndexWeightLog> tkIndexWeightList) {
		this.tkIndexWeightList = tkIndexWeightList;
	}
}
